package com.xinyi.shicihui.pojo.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * @author xinyi
 * @desc
 * @date 2022/1/23
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
@Document(collection = "poet")
public class Poet {

    @Id
    private String id;
    private String title;
    private String content;
    private String authorId;
    private String author;
    private String dynastyId;
    private String dynasty;
    private String tags;
}
